<!doctype html>
<html class="h-full w-full">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Electron</title>
  <script src="lib/velocity.min.js"></script>
  <script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.15.1/vconsole.min.js"></script>
  <script>
    // VConsole 默认会挂载到 `window.VConsole` 上
    var vConsole = new window.VConsole();
  </script>
  <script>

    try {
      if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
        document.documentElement.classList.add('dark')
        document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0B1120')
      } else {
        document.documentElement.classList.remove('dark')
      }

    } catch (_) { }

  </script>
</head>

<body class="dark:bg-[#161616] h-full w-full transition-[all] duration-500 overflow-hidden">
  <div id="app" class="h-full w-full overflow-hidden"></div>
  <script type="module" src="/src/main.ts"></script>
</body>

</html>